﻿using System.Collections.Generic;

namespace Autocomplete.Net
{
    public interface IAutocompleter
    {
        void CreateIndex(IEnumerable<Item> items);
        void UpdateIndex(IEnumerable<Item> items);
        string[] Search(string query);
        string[] Search(string query, string[] typesToBoost);
    }
}